﻿@model FreightSoft.Models.SHIPMENTSCHEDULE

@{
    ViewBag.Title = "Details";
}

<h2>Shipment Schedules</h2>

<fieldset>
    <legend>SHIPMENTSCHEDULE</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.SCHEDULEID)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SCHEDULEID)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.ORIGINPORT)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ORIGINPORT)
      
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.DESTINATIONPORT)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DESTINATIONPORT)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.SHIPID)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SHIPID)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.ROUTEID)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ROUTEID)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.STATUS)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.STATUS)
    </div>


    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new {Id =  Model.SCHEDULEID }) |
    @Html.ActionLink("Back to List", "Index") 
</p>
<p> 
    @Html.ActionLink("View Shipments", "ViewShipments", "Shipment", new { schedule_id = Model.SCHEDULEID }, null)
    @Html.ActionLink("Add Shipment", "AddShipment", "Shipment", new { scheduleid =  Model.SCHEDULEID, routeId = Model.ROUTEID, originPort = Model.ORIGINPORT, destinationPort = Model.DESTINATIONPORT }, null)

</p>
